package com.instrument.oop;

public class Violin extends Instrument{
    public void  play(){
        System.out.println("正在演奏小提琴");
    }

    public static void main(String[] args) {
        Violin violin = new Violin();
        violin.play();
        Piano piano = new Piano();
        piano.play();


    }
}
